using NodeCanvas.Framework;
using ParadoxNotion.Design;

namespace Yoozoo.Gameplay.Liberty.AI.Node
{
    [Category("Ggame/Liberty")]
    public class SetSpeedStrategyType : AIBaseNode
    {
        public BBParameter<SpeedStrategyType> speedStrategyType = SpeedStrategyType.Const;

        protected override void OnExecute()
        {
            _entity.seeker.SwitchSpeedStrategy(speedStrategyType.value);
            EndAction(true);    
        }
    }
}